# -*- coding: utf-8 -*-
"""
Created on Thu Jan  4 22:30:31 2024

@author: 28723
"""
import pandas as pd

# import talib as ta

name = 'sh000300.csv'
df = pd.read_csv('data/' + name, parse_dates=['交易日期'], encoding='gbk')

ma_20 = df['收盘价'].rolling(20).mean()

# ma_20 = ta.SMA(df['收盘价'], 20)






















